﻿using System;
using System.Windows;

namespace SBPweb.MediaCenter.Presentation.WPF
{
    /// <summary>
    /// Interaction logic for ErrorWindow.xaml
    /// </summary>
    public partial class ErrorWindow : Window
    {

        public ErrorWindow()
        {
            InitializeComponent();
        }

        public ErrorWindow(string caption, string message, string stackTrace)
            : this()
        {
            this.Title = caption;
            this.tbMessage.Text = message;
            this.tbStackTrace.Text = stackTrace;
        }

    }
}
